package com.cskaoyan.servlet;

import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.service.RoleService;
import com.cskaoyan.service.RoleServiceImpl;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author Yuye Wang
 * @date 2023/5/31 13:37
 * @description TODO
 */
@WebServlet("/admin/role/*")
public class AdminRoleServlet extends WdBaseServlet {
    private RoleService roleService = new RoleServiceImpl();

    private BaseRespVo options(HttpServletRequest request, HttpServletResponse response) {

        System.out.println();

        //调用查询服务
        return roleService.list();
    }
}
